package com.tripspins.app.interfaces;

import android.net.Uri;
import android.view.MenuItem;

import com.tripspins.app.bo.Pin;
import com.tripspins.app.bo.Trip;

/**
 * Created by Joao on 10/16/2014.
 */
public interface OnFragmentInteractionListener {
    public void newTrip();
    public void viewTrip(long tripId);
    public void saveNewTrip(Trip trip);
    public void viewTripAsList(Trip trip);
    public boolean menuItemClicked(MenuItem item);

    public void newPin();
    //public void saveNewPin(Pin newTrip);

    public void finishTrip();

    //void saveFinishTrip(Pin newPin);

    void viewPinOnMap(Pin pin, long tripId);

    void reloadListTrips();
}
